package cn.wolfcode.luowowo.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

@Setter

@Getter

@Document("person")//这里代表名

@ToString
//PersonRepository
public class Person extends BaseDomain{
    private String nickname;  //昵称
    private String headImgUrl; //头像
}